home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
x11
/
rpg
/
crossfir.92
/
crossfir
/
crossfire-0.92.5
/
common
/
Imakefile
< prev
next >
Wrap
Makefile
|
1996-07-24
|
2KB
|
87 lines
/* CrossFire, A Multiplayer game for X-windows
*
* $Id: Imakefile,v 1.13 1996/07/24 06:59:39 master Exp master $
*
* Copyright (C) 1992 Frank Tore Johansen
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* The author can be reached via e-mail to frankj@ifi.uio.no.
*/
#include "../config/crossfire.tmpl"
INCLUDES = -I../include $(RPLAY_INCDIR)
LIBTARGET = cross
SRCS = \
arch.c\
button.c\
exp.c\
friend.c\
glue.c\
info.c\
image.c \
init.c\
item.c\
links.c\
living.c\
loader.c\
logger.c\
los.c\
ltostr.c\
map.c\
object.c\
porting.c\
player.c\
re-cmp.c\
readable.c\
recipe.c\
shstr.c\
sqrt.c\
time.c\
treasure.c\
xutil.c
OBJS = $(SRCS:.c=.o)
all:: $(OBJS)
/* NormalLibraryObjectRule() /* This doesn't work on Ultrix-4.2A, somehow... */
NormalLibraryTarget($(LIBTARGET), $(OBJS))
DependTarget()
install:: all
relink:
(cd ..; make relink)
proto:
cextract +Ap -P -o ../include/libproto.h.bak -I$(INCROOT) $(INCLUDES) \
-I/usr/local/lib/gcc-include -cpp-program="gcc -E -C" \
$(SRCS)
sed -e "s/#if __STDC__/#ifdef __STDC__/" < ../include/libproto.h.bak > ../include/libproto.h
chmod 664 ../include/libproto.h
$(RM) ../include/libproto.h.bak
InsertArchive(README Imakefile $(SRCS),common)
doc:
rm -f ../doc/crosslib.doc
cextract +cpwm -xPSE -s=none -D__Making_docs__ -o ../doc/crosslib.doc -I$(INCROOT) $(INCLUDES) $(SRCS)